package com.lsh.oms.core.model.es;

import com.lsh.oms.core.model.base.VenderModel;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * ElasticSearch Fail Operate Log
 *
 * @author panxudong
 * @date 16/8/31
 */
@Setter
@Getter
@ToString
@NoArgsConstructor
public class EsOperate extends VenderModel implements Serializable {

    //ID
    private Long id;

    //单据编号
    private Long code;

    //单据类型
    private Integer orderType;

    //ElasticSearch URL
    private String url;

    //ElasticSearch Data
    private String data;

    //处理状态
    private Integer status;

    //操作类型
    private Integer operateType;

    //创建时间
    private Integer createTime;

    //更新时间
    private Integer updateTime;

    //尝试次数
    private Integer number;

}
